package com.yiyun.blog.service;

import com.yiyun.blog.vo.CategoryVo;
import com.yiyun.blog.vo.Result;

import java.util.List;

/**
 * @author Bao
 * @create 2022-03-07-14:57
 */
public interface CategoryService {


    //查找类别
    CategoryVo findCategoryById(Long categoryId);

    // 查找所有类别
    Result findAllCategory();

    // 查找所有类别的详情
    Result findAllCategoryDetail();

    // 查找该分类的所有文章
    Result categoryDetailById(Long categoryId);
}
